const express = require('express')
const app = express()
const productRouter = require('./routers/productRouter')
const orderRouter = require('./routers/orderRouter')
app.use('/product',productRouter)
app.use('/order',orderRouter)

app.listen('8787',()=>{
    console.log('服务已启动: http://localhost:8787')
})